<?php

use Faker\Generator as Faker;

/** @var \Illuminate\Database\Eloquent\Factory $factory */
$factory->define(\App\Models\Panx\MaterialPurchase::class, function (Faker $faker) {

    $sku = $faker->numberBetween(1, 1200);
    return [
        'material_id' => 0,
        'sku'         => $sku,
        'stock'       => $sku,
        'buyer'       => $faker->name,
        'purchase_at' => $faker->date(),
        'remark'      => $faker->name,
    ];
});
